package router

import (
	"ruoyi-go-echo-ddd/internal/infrastructure/http/handler"

	"github.com/labstack/echo/v4"
)

// NewValidatorCodeRouter 上传路由初始化
func NewValidatorCodeRouter(group *echo.Group, code *handler.ValidatorCodeHandler) {
	codeValidatorRouter := group.Group("/global/code")
	codeValidatorRouter.GET("/create", code.CodeCreateHandler)
	codeValidatorRouter.GET("/validator", code.CodeValidatorHandler)
}
